﻿Public Class Configure

    Private Sub Configure_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        ' Load values for Update Timer.
        numUpdate.Value = My.Settings.UpdateTimer
        ' Load Values for Connection Timer.
        numConnect.Value = My.Settings.ConnectTimer

    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        My.Settings.ConnectTimer = numConnect.Value
        My.Settings.UpdateTimer = numUpdate.Value
        My.Settings.Save()
        Me.Close()
    End Sub
End Class